Carbon


EmptyRgn

Header: Quickdraw.h Carbon status: Supported

Determines whether a region is empty.

Boolean EmptyRgn (
     rgn
);
Parameter descriptions
rgn

A handle to the region to test for emptiness.

function result

TRUE if the region whose handle you pass in the rgn parameter is an empty region or FALSE if it is not.

DISCUSSION

The EmptyRgn function does not create an empty region. To create an empty region, you can perform any of the following operations:

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)